package cn.com.xf.dao;

import java.util.List;

import cn.com.xf.domain.Tbdamagedgoods;
import cn.com.xf.domain.Tbdamagedimage;
import cn.com.xf.domain.Tbdamagedunknown;

public interface TbdamagedgoodsDAO {
	List<Tbdamagedgoods> selectDamaged(int begin, int pageSize,String orderid,String entersite,
			String entertimeStart,String entertimeEnd);
	Integer selectDamagedCount(String orderid,String entersite,String entertimeStart,
			String entertimeEnd);
	List<Tbdamagedgoods> selectUnknown(int begin, int pageSize,String entersite,
			String recedateStart,String recedateEnd,String receclass,String memo,
			String goodsid,String applysite);
	Integer selectUnknownCount(String entersite,String recedateStart,String recedateEnd,
			String receclass,String memo,String goodsid,
			String applysite);
	List<Tbdamagedimage> selectImage(String seqid);
	Tbdamagedgoods selectGoodsByseqid(String seqid);
	int updateGoodsApplySta(int applysta,String seqid);
	List<Tbdamagedunknown> selectApply(String seqid);
	Tbdamagedunknown selectApply(int id);
	int selectRepetCount(String seqid,String applysite);
	void insertApply(Tbdamagedunknown tbdu);
	int updateApplyStatus(int status,int id);
	int updateVerify(Tbdamagedunknown tbdu);
	int delApplyByid(int id);
}
